<?php

namespace Common\Model;

use Think\Model;

class SysDictionaryModel extends Model {

  protected $trueTableName = 'sys_Dictionary';

  function get_Dictionary_by_text($text) {
    return $this->where(array(
        'text' => $text
      ))->select();
  }

  function get_Dictionary_by_pid($pid) {
    return $this->where(array(
        'pid' => $pid
      ))->select();
  }

}
